package com.ruoyi.web.controller.tiebauser.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 贴吧用户对象 tieba_users
 *
 * @author yong
 * @date 2025-03-09
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tieba_users")
@ApiModel(value = "TiebaUsers", description = "贴吧用户实体")
public class TiebaUsers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("用户id")
    private Long id;

    /** 用户名 */
    @Excel(name = "用户名")
    @ApiModelProperty("用户名")
    private String username;

    /** 密码 */
    @Excel(name = "密码")
    @ApiModelProperty("密码")
    private String password;

    /** 邮箱 */
    @Excel(name = "邮箱")
    @ApiModelProperty("邮箱")
    private String email;

    /** $column.columnComment */
    @ApiModelProperty("$column.columnComment")
    private Long deptId;

    /** $column.columnComment */
    @ApiModelProperty("$column.columnComment")
    private Integer delFlag;

}
